package com.jrauto.CarAppBackend.entity.vo;

import java.util.Date;

/**
 * @author : huiMing
 * Date : 2025年09月11日 17:28
 * @version V1.0
 */
public class CarListVO {
    /**
     * 车辆唯一ID
     */
    private Integer carId;

    private String carNumber; // 车辆编号

    /**
     * 车辆标题
     */
    private String title;


    /**
     * 销售价格（元）
     */
    private Float price;
    /**
     * 上牌时间
     */
    private Date registration; // 上牌日期
    /**
     * 里程（公里）
     */
    private Integer mileage;


    /**
     * 车源城市
     */
    private String city;

    /**
     * 主图URL - 车辆的主要展示图片
     */
    private String mainImageUrl;

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Date getRegistration() {
        return registration;
    }

    public void setRegistration(Date registration) {
        this.registration = registration;
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getMainImageUrl() {
        return mainImageUrl;
    }

    public void setMainImageUrl(String mainImageUrl) {
        this.mainImageUrl = mainImageUrl;
    }
}
